//
//  CLmyTableCell.m
//  I-want-go
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "CLmyTableCell.h"
#import "CLscreen.h"
@implementation CLmyTableCell

- (void)dealloc {
    [_writeLabel release];
    [super dealloc];
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    
    self.writeLabel = [[UILabel alloc] init];
    [self.contentView addSubview:self.writeLabel];
    self.writeLabel.textAlignment = NSTextAlignmentCenter;
    [_writeLabel release];
    
}

- (void)layoutSubviews {
    [super layoutSubviews];
    
    self.writeLabel.frame = CGRectMake(10 * SWIDTH, 10 * SHEIGHT, 350 * SWIDTH, 20 * SHEIGHT);
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
